import axios from 'axios';

let base = '';

class api {
    requestLogin(params) {
          return axios.post(`${base}/login`, params).then(res => res.data); 
    };
}


export default new api()
